'use strict'


import request from '@/utils/request'


export function list(parameter) {
  return request({
    url: '/ResponsibilityOrgPostUserDepositManage/GetPageData',
    method: 'get',
    params: parameter
  })
}

export function lineDocList(parameter) {
    return request({
      url: '/ProjectEntrustedOnlineDoc/GetPageData',
      method: 'get',
      params: parameter
    })
  }

//   GET /api/ResponsibilityOrgPostUserDepositManage/GetDetail/%7Bid%7D?id=266 HTTP/1.1
export function initEntity(parameter){
  return request({
    url: '/ResponsibilityOrgPostUserDepositManage/InitEntity',
    method: 'get',
    params: parameter
  })
}

export function GetDetail(parameter){
  return request({
    url: '/ResponsibilityOrgPostUserDepositManage/GetDetail',
    method: 'get',
    params: parameter
  })
}

export function Abolish(parameter) {
  return request({
      url: '/ResponsibilityOrgPostUserDepositManage/Abolish',
      method: 'get',
      params: parameter
  })
}

// http://139.196.18.102:8020/api/ResponsibilityOrgPostUserDepositManage/SaveData

export function addSubmit(data) {
  return request({
    url: `/ResponsibilityOrgPostUserDepositManage/SaveData`,
    method: 'post',
    data
  })
}





















